Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly handle directory on rerun #523

Open
wants to merge 80 commits into
base: master
Choose a base branch
from

Conversation

CeleritasCelery
Copy link
Contributor

Currently rustic will override the default-directory to the workspace root after a compilation is finished. This enables it to correctly find the paths in error messages. But it also means that if you rerun a command it will rerun in the root crate instead of the original one.

This change adds a new variable to track the original directory and resets it when we rerun.

psibi and others added 4 commits May 15, 2024 07:54
Firstly, use `add-to-list` rather than `setq` so that existing
archives aren’t affected.  In particular, Emacs includes NonGNU
ELPA on the list and current instructions remove that archive.

Secondly, prefer https over http when specifying URL of MELPA.
Update package-archives modification code in README
Currently rustic will override the default-directory to the workspace root after
a compilation is finished. This enables it to correctly find the paths in error
messages. But it also means that if you rerun a command it will rerun in the
root crate instead of the original one.

This change adds a new variable to track the original directory and resets it
when we rerun.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants